<?php
class AgentesRisco extends AppModel {

	var $name = 'AgentesRisco';
	var $displayField = 'tipo';
	var $validate = array(
		'locaisrisco_id' => array('notempty'),
		'tipo' => array('notempty'),
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Locaisrisco' => array(
			'className' => 'Locaisrisco',
			'foreignKey' => 'locaisrisco_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasOne = array(
		'Examesrisco' => array(
			'className' => 'Examesrisco',
			'foreignKey' => 'agentesrisco_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>